<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {return view('welcome');});
Route::post('reception/adminUsers/postuser','Reception\adminUsers@post_user_data');
Route::post('reception/adminUsers/Login','Reception\Login@login');
Route::options('reception/adminUsers/Login','Reception\Login@login');
Route::get('reception/adminUsers/view','Reception\adminUsers@view_admin_users');
Route::delete('reception/adminUsers/delete/{id}','Reception\adminUsers@delete_admin_user');
Route::get('reception/adminUsers/select/{per}','Reception\adminUsers@select_admin_user');
Route::put('reception/adminUsers/put/{id}','Reception\adminUsers@put_admin_user');
Route::post('reception/tripContent/pic','Reception\tripContent@post_pic');
Route::post('reception/tripContent/pic/dataContent','Reception\tripContent@add_content');
Route::get('reception/tripContent/view','Reception\tripContent@view_trip_content');
Route::delete('reception/tripContent/delete/{id}','Reception\tripContent@delete_trip_content');
